<html>
<head>
</head>
<body >
	<div class="col-main">
		<div>
			<a class="btn_blue04" href="javascript:void(0)" id="menuAddBtn" style="margin-top:10px;margin-left:200px;">新增一级菜单</a>
		</div>
		</br></br>
		<div style="margin-top:20px;margin-left:190px;clear:both">
		<ul id="menuTree" ></ul>	
		</div>
		
	</div>
	<div style="width:500px;" id="menuWin" class="easyui-window" title="新增主菜单" data-options="modal:true,closed:true,shadow:false" >
		<div data-options="region:'center'" style="padding:10px;">
		<form id="menuForm">
			<div class="menuItem"><span class="itemLable">名称：</span><input type="text" name="menuName" id="menuName" class="easyui-validatebox" data-options="required:true,validType:'length[1,8]',missingMessage:'请填写菜单名称'"/></div>
			<div class="menuItem"><span class="itemLable">状态：</span><select name="isVisible" id="isVisible"><option value="1" default="true">启用</option> <option value="0">冻结</option></select></div>
			<div class="menuItem"><span class="itemLable">类型：</span><select name="menuType" id="menuType"><option value="1" default="true">菜单</option> <option value="0">操作</option></select></div>
			<div class="menuItem"><span class="itemLable">路径：</span><input type="text" name="menuUrl" id="menuUrl" class="easyui-validatebox" data-options="required:true,validType:'length[1,200]',missingMessage:'请填写访问路径'"/></div>
			<div class="menuItem"><span class="itemLable">key：</span><input type="text" name="menuCode" id="menuCode" class="easyui-validatebox" data-options="required:true,validType:'length[1,200]',missingMessage:'请填写key'"/></div>
		</form>
		</div>
		<div data-options="region:'south',border:false" style="text-align:center;background-color: #eee;height: 50px;padding: 10px 0 0 80px;">
			<a class="btn_blue02" href="javascript:void(0)" id="menuSaveBtn">确定</a>
			<a class="btn_blue02" href="javascript:void(0)" id="menuCancelBtn">取消</a>
		</div>
	</div>
	<style type="text/css">
		.menuItem{padding:5px 50px;}
		.menuItem .itemLable{display:inline-block;width:100px;text-align:right;}
		select,input{
			border: 1px solid #dfdfdf;
			width:200px;
			height:22px;
		}
		.hr0{ height:1px;border:none;border-top:1px dashed #0066CC;}
		.hrspan{border-top:1px dashed #cccccc;height: 1px;overflow:hidden;}
		.tree-file,.tree-folder,.tree-folder-open{background:url();width:0px;}
		.iconspan{
			    display: inline-block;
			    font-size: 1px;
			    height: 16px;
			    line-height: 16px;
			    width: 16px;
		}
		.tree-node{height:24px;line-height:24px;width:600px;}
		.tree-title{width:450px;}
		.tree-opt{text-align:right;}
		.divhr{border-top:1px dashed #000; height:6px;display:inline-block;width:100%;}
	</style>
	<script type="text/javascript" charset="utf-8" src="${mainDomain}/statics/js/backend/user/menuList.js"></script>
		<script>
	var mainDomain = "${mainDomain}";
	var miscDomain = '${mainDomain}';
</script>
</body>
</html>